//
//  MyMoneyViewModel.m
//  HTP
//
//  Created by 王鑫 on 15/11/28.
//  Copyright © 2015年 nit. All rights reserved.
//

#import "MyMoneyViewModel.h"

@implementation MyMoneyViewModel

- (void)getBasicInfoByParentId:(NSString *)parentID {
    tns1_getBasicInfoByParentId *getBasicInfo = [[tns1_getBasicInfoByParentId alloc] init];
    getBasicInfo.parentId = parentID;
    [WSDLNetWork shareInstance:^interfaceSoapBindingResponse *(interfaceSoapBinding *binding){
        return [binding getBasicInfoByParentIdUsingParameters:getBasicInfo headerElements:nil];
    }withResult:^(NSDictionary *message){
        [self fetchResult:message];
    }throwError:^(NSError *error){
        [self fetchError];
    }];
}
@end
